<?php
	require_once('actions/recover/scripts/validate-recover.php');
	if (isset($_POST['form-action'])) { //se envio formulario
		$validacion = validarRecover();
		if (!empty($validacion)) { //fallo validacion
			require_once('actions/recover/view/recover.php');
		} else { //si valido correcto
			require_once('actions/recover/view/recover.php');
		}
	} else require_once('actions/recover/view/recover.php');
?>